<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!--

  @(#)package.html    April 11, 2009

  Copyright  2009, FreeInternals.org. All rights reserved.
  Use is subject to license terms.

-->
</head>
<body bgcolor="white">

Default user interface component for {@code class} file, {@code jar} or
{@code zip} file.


<h2>Package Specification</h2>

{@link org.freeinternals.classfile.ui.JTreeClassFile} is a tree control for a class file:

<pre>
    ClassFile classfile = ...
    JTreeClassFile cf = new JTreeClassFile(classfile);
</pre>

<p>

{@link org.freeinternals.classfile.ui.JSplitPaneClassFile} is an integrated split pane
for {@code class} file:

<pre>
    byte[] classByteArray = ...
    JSplitPaneClassFile cfPane = new JSplitPaneClassFile(classByteArray);
</pre>

<p>

{@link org.freeinternals.classfile.ui.JTreeZipFile} is a tree for {@code jar} or
{@code zip} file containing java {@code class} file(s):

<pre>
    JarFile jf = ...
    JTreeZipFile zfTree = new JTreeZipFile(jf);
</pre>

<p>

{@link org.freeinternals.classfile.ui.Tool} provides utility files to get
{@code class} file byte array:

<pre>
    File f = new File("....class")
    JTreeZipFile zfTree = new JTreeZipFile(Tool.readClassFile(f));
</pre>

or:

<pre>
    JarFile jf = ...
    ZipEntry ze = ...
    JTreeZipFile zfTree = new JTreeZipFile(Tool.readClassFile(jf, ze));
</pre>


<!-- Put @see and @since tags down here. -->
@see org.freeinternals.classfile.ui.JSplitPaneClassFile
@see org.freeinternals.classfile.ui.JTreeZipFile
@since JDK 6.0
@author Amos Shi

</body>
</html>

